using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using PokerLearner;
using PokerLearner.Poker;

namespace Client
{
	public partial class FormConnect : Form
	{

		public FormConnect()
		{
			InitializeComponent();
		}

		private void buttonConnect_Click(object sender, EventArgs e)
		{
			PokerClient.Instance.Connect(textBoxAddress.Text, textBoxName.Text, int.Parse(textBoxStack.Text));
			this.Close();
		}

        private void textBoxStack_TextChanged(object sender, EventArgs e)
        {
        }

        private void textBoxName_TextChanged(object sender, EventArgs e)
        {
        }

        private void textBoxAddress_TextChanged(object sender, EventArgs e)
        {
        }
	}
}